// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import ViewUI from 'view-design';
import 'view-design/dist/styles/iview.css';
import zh from 'view-design/dist/locale/zh-CN';
axios.defaults.baseURL='http://49.235.16.43:3002';

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import animated from 'animate.css' // npm install animate.css --save安装，再引入

 Vue.use(animated)
Vue.use(ElementUI);

Vue.prototype.$axios = axios
Vue.prototype.$xxx="测试";

Vue.use(ViewUI, { zh });

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
